all: mt_server non_blocking_server epoll_server blocking_server mt_client client


mt_server: mt_server.c
	gcc -o mt_server mt_server.c

non_blocking_server: nb_server.c
	gcc -o $@ $<

epoll_server: ep_server.c
	gcc -g -o $@ $<

blocking_server: server.c
	gcc -o $@ $<

mt_client: mt_client.c
	gcc -o $@ $<

client: client.c
	gcc -o $@ $<

clean:
	-rm mt_server
	-rm non_blocking_server
	-rm epoll_server
	-rm blocking_server
	-rm mt_client
	-rm client
